home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac-Source 1994 July
/
Mac-Source_July_1994.iso
/
Other Langs
/
MacPerl ƒ
/
Perl Source ƒ
/
Perl
/
t
/
base
/
if.t
< prev
next >
Wrap
Text File
|
1993-10-23
|
266b
|
12 lines
#!./perl
# $Header: if.t,v 4.0 91/03/20 01:49:03 lwall Locked $
print "1..2\n";
# first test to see if we can run the tests.
$x = 'test';
if ($x eq $x) { print "ok 1\n"; } else { print "not ok 1\n";}
if ($x ne $x) { print "not ok 2\n"; } else { print "ok 2\n";}